package vl06.thredTester;

public class MeinThread implements Runnable {

	@Override
	public void run() {
		long l = 0;
		long anfang = System.currentTimeMillis();
		for(int i=1; i<=100; i++){
			for(long k=0; k<10000000; k++){
				l++;
			}
			System.out.println("Fertig zu " + i + "%!");
		}
		System.out.println("Fertig, beide Schleifen verlassen!");
		long ende = System.currentTimeMillis();
		long diff = ende-anfang;
		System.out.println("Gebrauchte Zeit " + diff + " (ms)");
		
	}
	
	
	
	

}
